home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Extensions / Primitives / Primitives.rsrc / STR#_118.txt < prev    next >
Encoding:
Text File  |  1995-09-21  |  385 b   |  11 lines

  1. Inputs: List; Item; [AttributeName]
  2. Outputs: Found; Index
  3.  
  4. Inputs: list; string | number; [string]
  5. Outputs: boolean; integer 
  6.  
  7. Perform a binary search to find Item in sorted List. With AttributeName, List must be a list of instances. If Item is found, Found is TRUE and Index is its position in List. Otherwise, Found is FALSE and Index is the position in List to insert Item.
  8.  
  9. Lists
  10.  
  11.